﻿
$(document).ready(function () {
    var _var = $("#CheckUser").val();
    if (_var != '40' && _var != null && _var != "") {
        $("#DVGTVT_MA").attr("disabled", "disabled");
    }

    // track enter key
    $("input").bind("keydown", function (event) {
        var keycode = (event.keyCode ? event.keyCode : (event.which ? event.which : event.charCode));
        if (keycode == 13) {
            document.getElementById('btnSearch').click();
            return false;
        } else {
            return true;
        }
    });
});
